import App from './App'

// #ifndef VUE3
import Vue from 'vue'
import http from './service'
import Db from './service/db'
import common from '@/service/common'
import { usqlite } from '@/uni_modules/onemue-USQLite/js_sdk/usqlite.js'
Vue.config.productionTip = false
Vue.prototype.$http = http;
Vue.prototype.$common = common;
Vue.prototype.$db = Db;
uni.$sql = usqlite;
App.mpType = 'app'
const app = new Vue({
    ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif